package com.tequila.core.dao;

import com.tequila.domain.dto.CardCouponWishDto;
import com.tequila.domain.entity.CardCouponWish;
import com.tequila.domain.query.CardCouponWishQuery;

import java.util.List;

public interface CardCouponWishDao {
    CardCouponWish queryById(Long id);

    List<CardCouponWishDto> queryByIdList(List<Long> idList);

    List<CardCouponWishDto> queryListByParam(CardCouponWishQuery query);

    List<CardCouponWishDto> queryPageListByParam(CardCouponWishQuery query);

    int queryPageCountByParam(CardCouponWishQuery query);

    int insert(CardCouponWish entity);

    int insertSelective(CardCouponWish entity);

    int updateById(CardCouponWish param);

    int updateSelectiveById(CardCouponWish param);

    int deleteById(Long id);

    int deleteByIdList(List<Long> idList);
}